package com.chuangsi.project.admin.dto.admin.seal;

import io.swagger.annotations.ApiModelProperty;
import io.swagger.models.auth.In;
import lombok.Data;

import javax.validation.constraints.*;

@Data
public class ReqSealChangeStatusDto {

    @ApiModelProperty(value = "印章id")
    @NotBlank(message = "印章id不能为空")
    private String sealId;

    @ApiModelProperty(value = "更改类型（1：上下架 2：线上支付开关 3：线下支付开关 4:是否使用E签宝合同）")
    @NotNull(message = "更改类型不能为空")
    @Max(value = 4,message = "更改类型错误")
    @Min(value = 1,message = "更改类型错误")
    private Integer type;

    @ApiModelProperty(value = "状态（Y:开启，N：关闭）")
    @NotBlank(message = "状态不能为空")
    @Pattern(regexp = "^[YN]$",message = "状态错误")
    private String status;




}
